package org.jeecgframework.web.system.pojo.base;

import java.math.BigDecimal;
import java.util.Date;
import java.lang.String;
import java.lang.Double;
import java.lang.Integer;
import java.math.BigDecimal;
import javax.persistence.*;
import javax.xml.soap.Text;
import java.sql.Blob;

import org.hibernate.annotations.GenericGenerator;

import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @author onlineGenerator
 * @version V1.0
 * @Title: Entity
 * @Description: cbs_cgreport_head
 * @date 2018-07-25 10:44:43
 */
@Entity
@Table(name = "cbs_cgreport_head", schema = "")
@SuppressWarnings("serial")
public class CbsCgreportHeadEntity implements java.io.Serializable {
    /**
     * id
     */
    private String id;
    /**
     * cgrSql sql
     */
    @Excel(name = "cgrSql")
    private String cgrSql;
    /**
     * property 是否共享 共享报表_1,用户报表_0
     */
    @Excel(name = "property")
    private String property;
    /**
     * content 报表说明
     */
    @Excel(name = "content")
    private String content;
    /**
     * name 报表名称
     */
    @Excel(name = "name")
    private String name;

    /**
     * createDate 创建时间
     */
    @Excel(name = "createDate")
    private Date createDate;
    /**
     * createBy 创建人
     */
    @Excel(name = "createBy")
    private String createBy;

    /**
     * updateDate  更新人
     */
    @Excel(name = "updateDate")
    private Date updateDate;

    /**
     * updateBy 更新时间
     */
    @Excel(name = "updateBy")
    private String updateBy;

    /**
     * 主表 。id、
     */
    private String primatyRota;

    /**
     * 关联表。
     */
    private String lienkedRota;

    /**
     * json sql
     */
    private String cgrJson;

    /**
     * 选中的列名
     */
    private String lieName;

    @Column(name = "lie_name", nullable = false)
    public String getLieName() {
        return lieName;
    }

    public void setLieName(String lieName) {
        this.lieName = lieName;
    }

    /**
     * 是否可删除，只在页面显示判断，不存数据库
     */
    private String isdel;

    @Transient
    public String getIsdel() {
        return isdel;
    }

    public void setIsdel(String isdel) {
        this.isdel = isdel;
    }

    /**
     * 方法: 取得java.lang.String
     *
     * @return: java.lang.String  id
     */
    @Id
    @GeneratedValue(generator = "paymentableGenerator")
    @GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
    @Column(name = "ID", nullable = false, length = 36)
    public String getId() {
        return this.id;
    }

    /**
     * 方法: 设置java.lang.String
     *
     * @param: java.lang.String  id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 方法: 取得java.lang.String
     *
     * @return: java.lang.String  cgrSql
     */
    @Column(name = "CGR_SQL", nullable = false)
    public String getCgrSql() {
        return this.cgrSql;
    }

    /**
     * 方法: 设置java.lang.String
     *
     * @param: java.lang.String  cgrSql
     */
    public void setCgrSql(String cgrSql) {
        this.cgrSql = cgrSql;
    }

    /**
     * 方法: 取得java.lang.String
     *
     * @return: java.lang.String  property
     */
    @Column(name = "PROPERTY", nullable = false, length = 36)
    public String getProperty() {
        return this.property;
    }

    /**
     * 方法: 设置java.lang.String
     *
     * @param: java.lang.String  property
     */
    public void setProperty(String property) {
        this.property = property;
    }

    /**
     * 方法: 取得java.lang.String
     *
     * @return: java.lang.String  content
     */
    @Column(name = "CONTENT")
    public String getContent() {
        return this.content;
    }

    /**
     * 方法: 设置java.lang.String
     *
     * @param: java.lang.String  content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 方法: 取得java.lang.String
     *
     * @return: java.lang.String  name
     */
    @Column(name = "NAME")
    public String getName() {
        return this.name;
    }

    /**
     * 方法: 设置java.lang.String
     *
     * @param: java.lang.String  name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 方法: 取得java.util.Date
     *
     * @return: java.util.Date  createDate
     */
    @Column(name = "CREATE_DATE", nullable = true)
    public Date getCreateDate() {
        return this.createDate;
    }

    /**
     * 方法: 设置java.util.Date
     *
     * @param: java.util.Date  createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * 方法: 取得java.lang.String
     *
     * @return: java.lang.String  createBy
     */
    @Column(name = "CREATE_BY", nullable = true, length = 255)
    public String getCreateBy() {
        return this.createBy;
    }

    /**
     * 方法: 设置java.lang.String
     *
     * @param: java.lang.String  createBy
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    @Column(name = "PRIMATY_ROTA")
    public String getPrimatyRota() {
        return primatyRota;
    }

    public void setPrimatyRota(String primatyRota) {
        this.primatyRota = primatyRota;
    }

    @Column(name = "LIENKED_ROTA")
    public String getLienkedRota() {
        return lienkedRota;
    }

    public void setLienkedRota(String lienkedRota) {
        this.lienkedRota = lienkedRota;
    }

    @Column(name = "CGR_JSON")
    public String getCgrJson() {
        return cgrJson;
    }

    public void setCgrJson(String cgrJson) {
        this.cgrJson = cgrJson;
    }

    
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @Author Sunliangliang 2018/10/30 13:24
     * @Description 自定义报表更新时间
     * @params 
     */
    @Column(name = "UPDATE_DATE")
    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @Author Sunliangliang 2018/10/30 13:24
     * @Description 自定义报表更新人
     * @params 
     */
    @Column(name = "UPDATE_BY")
    public String getUpdateBy() {
        return updateBy;
    }

}
